package com.hfi.restful.validatecode;

import com.hfi.security.core.validate.code.ValidateCodeGenerator;
import com.hfi.security.core.validate.code.image.ImageCode;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.context.request.ServletWebRequest;

/**
 * @author ChangLiang
 * @date 2019/8/14
 */
//@Component("imageCodeGenerator")
public class DemoImageCodeGenerator implements ValidateCodeGenerator {

    private Logger logger = LoggerFactory.getLogger(getClass());

    @Override
    public ImageCode generate(ServletWebRequest request) {
        logger.info("自定义的图形验证码生成代码");
        return null;
    }
}
